<?php

class admin_roleModel extends Model {
    
    const ROLE_SHOP_ADMIN = 2;

    public function getList() {
        $data = array();
        if ($list = $this->getAll()) {
            foreach ($list as $row) {
                $data[$row['role_id']] = $row;
            }
        }
        return $data;
    }

}
